package com.project.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 库存列表项 VO
 */
@Data
public class InventoryListVO {
    //库存记录ID
    private Long inventoryId;
    //材料ID
    private Long materialId;
    //材料名称
    private String materialName;
    //材料编码
    private String materialCode;
    //分类名称
    private String categoryName;
    //规格型号
    private String specification;
    //单位
    private String unit;
    //合格品库存数量
    private Integer qualifiedQty;
    //不合格品库存数量（不可出库）
    private Integer unqualifiedQty;
    //库存总数
    private Integer totalQty;
    //最后更新时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime lastUpdate;
}
